﻿/// <reference path="~/Scripts/Library/jquery-1.9.1.min.js" />

var postbackController = "Insurer";

function ConfigurationItem_Validate() {

    var isValid = true;

    var lastResponseMessageLabel = $("#LastResponseMessageLabel");


    if ($("#InsuranceType_Code").val() == "") {

        lastResponseMessageLabel.html("The Insurance Type Code must not be empty.");

        lastResponseMessageLabel.parent().addClass("ui-state-error");

        $("#InsuranceType_Code").closest("tr").children().first().addClass("ui-state-error");

        isValid = false;

    }


    return isValid;

}

function ConfigurationItem_OnReady() {



}
